function common(midder, { type, record }) {
	const { items } = midder[type];
	const area = this.area({
		span: 12,
		gutter: 12,
		shadow: 'never',
		initialValues: record,
		// formParam: { labelWidth: '98px' },
		// 初始化过程中staticValues，拥有更高优先级
		staticValues: {
			// 所以需要重写url
			url: record.url,
			// 另外还需要带上启用状态
			recommend: record.recommend,
		},
	});
	area.add(Object.values(items).map(item => item(area, record)));
	midder[type].action = area.done();
};
export default common;